var a = 'lfjdks 123wfef'
var b = /123/
var c = a.replace(b, 'lei')
console.log(a)
console.log(c)